package com.gis.halodepok;

import android.location.Location;

public class Item {

	private String nama;
	private String alamat;
	private String telp;
	private String buka;
	private Location location;

	public Item(String nama, String alamat, String telp, String buka,double lat, double lon) {
		this.nama = nama;
		this.alamat = alamat;
		this.telp = telp;
		this.buka = buka;

		this.location = new Location("HalloDepok");
		this.location.setLatitude(lat);
		this.location.setLongitude(lon);

	}

	public Item(String nama, String alamat, String telp, String buka) {
		this.nama = nama;
		this.alamat = alamat;
		this.telp = telp;
		this.buka = buka;

	

	}

	public String getNama() {
		return nama;
	}

	public void setNama(String nama) {
		this.nama = nama;
	}

	public String getAlamat() {
		return alamat;
	}

	public void setAlamat(String alamat) {
		this.alamat = alamat;
	}

	public String getTelp() {
		return telp;
	}

	public void setTelp(String telp) {
		this.telp = telp;
	}

	public String getBuka() {
		return buka;
	}

	public void setBuka(String buka) {
		this.buka = buka;
	}

	public double getLon() {
		return location.getLongitude();
	}

	public double getLat() {
		return location.getLatitude();
	}

	public Location getLocation() {
		return location;
	}

	public void setLocation(Location location) {
		this.location = location;
	}

	
}